﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Microsoft.ApplicationBlocks.Data;

namespace SmartEP.Model
{
    public class ClaimModel : BaseModel
    {
        #region Constants
        public const string TABLE_NAME = "ClaimInfo";
        public const string ID_FIELD = "ClaimId";
        public const string CPT_ALL_FIELD = "CPTAll";
        public const string PLAN_FIELD = "Plan";
        public const string INSURANCE_PLAN_FIELD = "InsPlan";
        public const string AMOUNT_FIELD = "Amount";
        public const string CREATED_DATE_FIELD = "DateCreated";
        public const string STATUS_FIELD = "Status";
        #endregion
        
        #region Constructors
        public ClaimModel() : base(TABLE_NAME, ID_FIELD) { }
        #endregion

        #region Properties

        #endregion

        #region Methods
        public DataSet GetInsuranceClaimsByProvider(int providerId)
        {
            return GetStoreProcedureByName ("GetInsuranceClaimsByProvider", providerId);
        }
        #endregion
    }
}
